
from rest_framework import serializers
from . import models

class BannerModleSerializer(serializers.ModelSerializer):

    class Meta:
        model = models.Banner
        fields = ['title', 'img']